<?php

namespace Portal\MainBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * ContentAttribute
 */
class ContentAttribute
{
    /**
     * @var integer
     */
    private $id;

    /**
     * @var string
     */
    private $nameMn;

    /**
     * @var string
     */
    private $nameEn;

    /**
     * @var integer
     */
    private $attributeTypeId;

    /**
     * @var boolean
     */
    private $isActive;

    /**
     * @var \DateTime
     */
    private $createdAt;

    /**
     * @var integer
     */
    private $createdUserId;

    /**
     * @var \DateTime
     */
    private $updatedAt;

    /**
     * @var integer
     */
    private $updatedUserId;

    /**
     * @var string
     */
    private $updatedUserIp;


    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set nameMn
     *
     * @param string $nameMn
     * @return ContentAttribute
     */
    public function setNameMn($nameMn)
    {
        $this->nameMn = $nameMn;
    
        return $this;
    }

    /**
     * Get nameMn
     *
     * @return string 
     */
    public function getNameMn()
    {
        return $this->nameMn;
    }

    /**
     * Set nameEn
     *
     * @param string $nameEn
     * @return ContentAttribute
     */
    public function setNameEn($nameEn)
    {
        $this->nameEn = $nameEn;
    
        return $this;
    }

    /**
     * Get nameEn
     *
     * @return string 
     */
    public function getNameEn()
    {
        return $this->nameEn;
    }

    /**
     * Set attributeTypeId
     *
     * @param integer $attributeTypeId
     * @return ContentAttribute
     */
    public function setAttributeTypeId($attributeTypeId)
    {
        $this->attributeTypeId = $attributeTypeId;
    
        return $this;
    }

    /**
     * Get attributeTypeId
     *
     * @return integer 
     */
    public function getAttributeTypeId()
    {
        return $this->attributeTypeId;
    }

    /**
     * Set isActive
     *
     * @param boolean $isActive
     * @return ContentAttribute
     */
    public function setIsActive($isActive)
    {
        $this->isActive = $isActive;
    
        return $this;
    }

    /**
     * Get isActive
     *
     * @return boolean 
     */
    public function getIsActive()
    {
        return $this->isActive;
    }

    /**
     * Set createdAt
     *
     * @param \DateTime $createdAt
     * @return ContentAttribute
     */
    public function setCreatedAt($createdAt)
    {
        $this->createdAt = $createdAt;
    
        return $this;
    }

    /**
     * Get createdAt
     *
     * @return \DateTime 
     */
    public function getCreatedAt()
    {
        return $this->createdAt;
    }

    /**
     * Set createdUserId
     *
     * @param integer $createdUserId
     * @return ContentAttribute
     */
    public function setCreatedUserId($createdUserId)
    {
        $this->createdUserId = $createdUserId;
    
        return $this;
    }

    /**
     * Get createdUserId
     *
     * @return integer 
     */
    public function getCreatedUserId()
    {
        return $this->createdUserId;
    }

    /**
     * Set updatedAt
     *
     * @param \DateTime $updatedAt
     * @return ContentAttribute
     */
    public function setUpdatedAt($updatedAt)
    {
        $this->updatedAt = $updatedAt;
    
        return $this;
    }

    /**
     * Get updatedAt
     *
     * @return \DateTime 
     */
    public function getUpdatedAt()
    {
        return $this->updatedAt;
    }

    /**
     * Set updatedUserId
     *
     * @param integer $updatedUserId
     * @return ContentAttribute
     */
    public function setUpdatedUserId($updatedUserId)
    {
        $this->updatedUserId = $updatedUserId;
    
        return $this;
    }

    /**
     * Get updatedUserId
     *
     * @return integer 
     */
    public function getUpdatedUserId()
    {
        return $this->updatedUserId;
    }

    /**
     * Set updatedUserIp
     *
     * @param string $updatedUserIp
     * @return ContentAttribute
     */
    public function setUpdatedUserIp($updatedUserIp)
    {
        $this->updatedUserIp = $updatedUserIp;
    
        return $this;
    }

    /**
     * Get updatedUserIp
     *
     * @return string 
     */
    public function getUpdatedUserIp()
    {
        return $this->updatedUserIp;
    }
}